{% extends "hometeacher.html" %}

{% block title %}Edit Exam{% endblock %}

{% block teachercontent %}
    <form action="/EditExam/{{ exam_id }}" method="post">{% csrf_token %}
        {{ form.as_p }}
        <input type="submit" value="Submit" />
    </form>
    <script>
        $('#id_deadline').datetimepicker({
            dateFormat: 'yy-mm-dd',
            timeFormat: 'hh:mm:ss'
        });
    </script>
{% endblock %}